Keithley Model 6517A Electrometer TestPoint Library
-----------------------------------------------------------------

User Notes:

The 6517A TestPoint Library is User Defined Object that provides
the user with pre-defined actions that can be used to program
the 6517A for a variety of functions.

The default IEEE-488 address of the 6517A is set at the factory 
for 27. The 6517A Library is set for the default address of 27.
Should you wish to change the 6517A library address to something
other than 27, double-click on the 6517A icon. You can change the
address to the specific address you wish to use.

The actions pre-defined for the 6517A Library are as follows:
 
Reset 6517A
Reset Triggering
Triggering --------------->         Initiate One Trigger Cycle
                                    Initiate Continuous Triggering
                                    Send Bus Trigger
Reset Reading Number
Reset Relative Timestamp
Get Data ----------------->         Get Last Instrument Reading
                                    Get Fresh Reading
                                    Get Buffer Data
Error Message Handling and 
Status Control ----------->         Read Error Messages
                                    Clear Error Message Queue
                                    Clear Status
Zero Check Control
Zero Correct Control
Math Calculations -------->         Configure Calculations
                                    Set Math State
                                    Get Math Data
                                    Recalculate Math Data
Buffer Math Operations --->         Configure Buffer Math
                                    Get Buffer Math Results
                                    Recalculate Buffer Math
Limits Operations -------->         Set Limits Group 1
                                    Clear Failed Limits1 test
                                    Set Limits Group 2
                                    Clear Failed Limits2 test
                                    Set Pass Pattern
                                    Limit Binning Strobe Control
                                    Re-perform Limits Test
                                    Query Test Result 1
                                    Query Test Result 2
                                    Query Composite Result of 1 and 2
Display Controls --------->         Set User Displayed Text
                                    Display Control
                                    Query Primary Display Line
                                    Query Secondary Display Line
Data Format and Elements ->         Setup Data Format
                                    Specify Data Elements
Digital Output Controls -->         Set Digital Output Polarity
                                    Set Digital Outputs
Scanner Operations ------->         Setup Internal Scanner Control
                                    Setup External Scanner Control   
                                    Close Internal Channel
                                    Open Internal Channels
                                    Open All Internal Channels
Configure Voltage Parameters ---->  Set Global Voltage Measure Parameters
                                    Set Individual Parameters----->
                                                    Set Voltage NPLC
                                                    Set Voltage Range
                                                    Set Voltage Resolution
                                                    Set Voltage Guard
                                                    Control External Feedback
                                    Set Voltage Filtering
                                    Set Voltage Reference
Configure Current Parameters -----> Set Global Current Measure Parameters
                                    Set Individual Parameters----->
                                                    Set Current NPLC
                                                    Set Current Range
                                                    Set Current Resolution
                                                    Set Current Damping
                                    Set Current Filtering
                                    Set Current Reference
Configure Resistance Parameters --> Set Global Resistance Measure Parameters
                                    Set Individual Parameters----->
                                                    Set Resistance NPLC
                                                    Set Resistance Range
                                                    Set Resistance Resolution
                                                    Set Resistance Damping
                                    Set Resistance Filtering
                                    Set Resistance Reference
                                    Set Manual/Auto Ohms
Configure Charge Parameters ----->  Set Global Charge Measure Parameters
                                    Set Individual Parameters----->
                                                    Set Charge NPLC
                                                    Set Charge Range
                                                    Set Charge Resolution
                                                    Set Auto Discharge Control
                                    Set Charge Filtering
                                    Set Charge Reference
Configure Vsource --------------->  Set Global Vsource Parameters
                                    Set Individual Parameters----->
                                                Set Vsource Output
                                                Set Vsource Range
                                                Set Set Vsource Voltage Limit
                                                Set Measure Connect
                                    Set Vsource State
Status Register Operations ------>  Enable Status Registers ------->
                                                Measurement Status
                                                Operation Status
                                                Arm Status
                                                Sequence Status
                                                Trigger Status
                                                Questionable Status
                                    Query Register Status --->
                                                Query Measurement Status
                                                Query Operation Status
                                                Query Arm Status
                                                Query Sequence Status
                                                Query Trigger Status
                                                Query Questionable Status
                                    Set SRQ Function
                                    Reset Registers to Default State
6517A System Controls ----------->  Save Configuration
                                    Recall Configuration
                                    Set Power-on State
                                    Line-Sync Controls
                                    Simulate Key Press
                                    Set Time and Date
                                    Select Timestamp Type
                                    External Temperature Control
                                    A/D Hardware Limit Controls
                                    Humidity Reading Control
Buffer Controls ----------------->  Clear Data Buffer
                                    Get Number of Readings Stored
                                    Select Buffer Elements
                                    Set Number of Points to Store
                                    Select Buffer Timestamp Format
                                    Configure Buffer Pre-Triggering
                                    Select Buffer Control Mode
Configure 6517A Triggering ------>  Set Arm Layer 1
                                    Set Arm {Scan} Layer 2
                                    Set Trigger Layer for Async Triggering
                                    Set Trigger Layer for Semi-Sync Triggering
Set Temperature Units


These actions are in order as pertaining to the difference SCPI subsystems
that the 6517A uses for its programming language.
        
When creating your application, the 6517A Icon is dragged from the Object
List into the Action List. When this process is performed, the above list
of selections is provided. The user can then select the action he or she
wish to perform on the 6517A. The actions are described below:


Reset
-----
Reset sends the *RST command to the 6517A. This action performs a 
complete reset on the 6517A in compliance with the IEEE-488.2
specification. *RST turns the Trigger Model completely off. To turn
the Trigger Model back on, use the 'Initiate One Trigger Cycle' or 'Initiate 
Continuous Triggering' action. Using Reset also programs the 6517A to return 
readings only, not any of the other possible data elements such as Timestamp, 
Units, etc.


Reset Triggering
----------------
This action stops any triggering the 6517A may be doing.


Triggering ---------------> Initiate One Trigger Cycle
------------------------------------------------------
Sends the INITiate command to start only one trigger cycle.


Triggering ---------------> Initiate Continuous Triggering
----------------------------------------------------------
Sends commands to the 6517A to perform continuous triggering.


Triggering ---------------> Send Bus Trigger
--------------------------------------------
Sends a bus trigger to the 6517A.


Reset Reading Number
--------------------
This object resets the reading number value back to zero when data
is returned from the 6517A.


Reset Relative Timestamp
------------------------
This object resets the relative timestamp function of the 6517A back to zero.


Get Data --------> Get Last Instrument Reading
----------------------------------------------
This action queries the 6517A to read the latest instrument reading. This
action CAN return the same reading twice.


Get Data --------> Get Fresh Reading
------------------------------------
This action queries the 6517A for a new (fresh) reading. This action will
not return the same reading twice.


Get Data --------> Get Buffer Data
----------------------------------
This action returns the contents of the 6517A data buffer. The data
returned will be dependent upon what switches were set for the data
format when the buffer was configured.


Error Message Handling and Status Control ---> Read Error Messages
------------------------------------------------------------------
This action returns the contents of the error message queue.


Error Message Handling and Status Control ---> Clear Error Message Queue
------------------------------------------------------------------------
This action clears the error message queue.


Error Message Handling and Status Control ---> Clear Status
-----------------------------------------------------------
This action clears all the status registers.


Zero Check Control
------------------
This action controls the 6517A Zero Check function.


Zero Correct Control
--------------------
This action controls the 6517A Zero Correct function.


Math Calculations -----> Configure Calculations
-----------------------------------------------
This action allows the user to set math functions including Percent,
Polynomial, Ratio, Deviation, Percent Deviation and LOG10. Target values
and the polynomial coefficients can be entered.


Math Calculations -----> Set Math State
---------------------------------------
Turns the math function on or off.


Math Calculations -----> Get Math Data
--------------------------------------
Returns the result of the math calculation as string data.


Math Calculations ----->  Recalculate Math Data 
-----------------------------------------------
Recomputes any math function immediately.


Buffer Math Operations  ----> Configure Buffer Math 
---------------------------------------------------
This action allows the user to set the buffer math statistics
including Mean, Standard Deviation, Maximum, Minimum, and Peak-to-Peak.
This actions also turns buffer math operations on or off.


Buffer Math Operations  ----->  Get Buffer Math Results 
-------------------------------------------------------
Returns the result of the buffer math calculation as string data.


Buffer Math Operations  ----->  Recalculate Buffer Math 
-------------------------------------------------------
Recomputes the buffer math function immediately.


Limits Operations  ----------->  Set Limits Group 1 
---------------------------------------------------
This actions sets the upper and lower limits in group 1 as well
as the failure digital output patterns for the upper and lower
limits. This actions also controls the automatic clearing of any failed
limits and turns the limit group 1 function on or off. This object should only
be used when the 6517A is in the IDLE state and not triggering. *OPC? is used 
in the object to determine if the limits have been set and will only return a 
valid state in the IDLE state. Otherwise, the 6517A will time out and further 
commands sent to the 6517A will invoke a 'Query Interrupted' error message.


Limits Operations  ----------->  Clear Failed Limits1 Test 
----------------------------------------------------------
This actions clears any failure indication that occured on Limits Group 1.


Limits Operations  ----------->  Set Limits Group 2 
---------------------------------------------------
This actions sets the upper and lower limits in group 2 as well
as the failure digital output patterns for the upper and lower
limits. This actions also controls the automatic clearing of any failed
limits and turns the limit group 2 function on or off. This object should only
be used when the 6517A is in the IDLE state and not triggering. *OPC? is used 
in the object to determine if the limits have been set and will only return a 
valid state in the IDLE state. Otherwise, the 6517A will time out and further 
commands sent to the 6517A will invoke a 'Query Interrupted' error message.


Limits Operations  ----------->  Clear Failed Limits2 Test 
----------------------------------------------------------
This actions clears any failure indication that occured on Limits Group 2.


Limits Operations  ----------->  Set Pass Pattern 
-------------------------------------------------
This actions sets the digital output pattern when a pass condition occurs.


Limits Operations  ----------->  Limit Binning Strobe Control 
-------------------------------------------------------------
This actions controls the state of the binning strobe used on the digital
output lines, either on or off.


Limits Operations  ----------->  Re-perform Limits Test 
-------------------------------------------------------
This actions repeats the limits tests.


Limits Operations  ----------->  Query Test Result 1 
----------------------------------------------------
This actions returns the results whether there was a pass or fail condition
with limits group 1.


Limits Operations  ----------->  Query Test Result 2 
----------------------------------------------------
This actions returns the results whether there was a pass or fail condition
with limits group 2.


Limits Operations  ----------->  Query Composite Result of 1 and 2 
------------------------------------------------------------------
This actions returns the results whether there was a pass or fail condition
as a combine operation of both limits 1 and 2.


Display Controls  ------------>  Set User Displayed Text 
--------------------------------------------------------
This actions allows the user to put user based message text on the
primary and secondary displays of the 6517A.


Display Controls  ------------>  Display Control 
------------------------------------------------
This actions turns the front panel display on or off.


Display Controls  ------------>  Query Primary Display Line 
-----------------------------------------------------------
This actions returns the contents of the primary display line as a string.


Display Controls  ------------>  Query Secondary Display Line 
-------------------------------------------------------------
This actions returns the contents of the secondary display line as a string.


Data Format and Elements  ---->  Setup Data Format 
--------------------------------------------------
This action sets up the data format that the 6517A will use to return
data. Data formats such as ASCII or Single Precision binary can be
selected.


Data Format and Elements  ---->  Specify Data Elements 
------------------------------------------------------
This action allows the user to select what elements of the reading will
be returned such as Channel, Reading Number, Timestamp, Status, Units,
External Temperature, Humidity and Vsource.


Digital Output Controls  ----->  Set Digital Output Polarity 
------------------------------------------------------------
This action sets the polarity of the digital outputs, either active high
or active low.


Digital Output Controls  ----->  Set Digital Outputs 
----------------------------------------------------
This action sets the outputs of the digital output lines.


Scanner Operations  ---------->  Setup Internal Scanner Control 
---------------------------------------------------------------
This action sets up the 6517A for Internal scanning. This action allows
the setting of the internal scanner relay settling time, the type of scan,
either voltage or current, and if the 200V limit is active. The user
can enter the internal scan list for channels 1 through 10.


Scanner Operations  ---------->  Setup External Scanner Control 
---------------------------------------------------------------
This action sets up the 6517A for External scanning. This action allows
the user to enter the external scan list.


Scanner Operations  ---------->  Close Internal Channel 
-------------------------------------------------------
This action allows the user to close a single channel on an internal
scanner board.


Scanner Operations  ---------->  Open Internal Channel 
------------------------------------------------------
This action allows the user to open a single channel on an internal
scanner board.


Scanner Operations  ---------->  Open All Internal Channels 
-----------------------------------------------------------
This action allows the user to open all channels on an internal
scanner board.


Configure Voltage Parameters -->  Set Global Voltage Measure Parameters 
-----------------------------------------------------------------------
This action sets up the 6517A to measure voltage. In this action, the NPLC,
voltage range, autoranging, voltage resolution, voltage guard, and external
feedback functions can be set. This object should only be used when the 6517A 
is in the IDLE state and not triggering. *OPC? is used in the object to determine 
if the parameters have been set and will only return a valid state in the IDLE 
state. Otherwise, the 6517A will time out and further commands sent to the 
6517A will invoke a 'Query Interrupted' error message. If you wish to set the 
individual parameters while the 6517A is triggering, use those objects instead 
of this global object.


Configure Voltage Parameters -->  Set Individual Parameters 
                                             -->  Set Voltage NPLC 
------------------------------------------------------------------
This action sets the voltage measure NPLC only.


Configure Voltage Parameters -->  Set Individual Parameters 
                                              -->  Set Voltage Range 
-------------------------------------------------------------------
This action sets the voltage measure range and/or autoranging only.


Configure Voltage Parameters -->  Set Individual Parameters 
                                              -->  Set Voltage Resolution 
-------------------------------------------------------------------------
This action sets the voltage resolution only.


Configure Voltage Parameters -->  Set Individual Parameters 
                                              -->  Set Voltage Guard 
--------------------------------------------------------------------
This action turns the voltage guard on or off only.


Configure Voltage Parameters -->  Set Individual Parameters 
                                              -->  Control External Feedback 
----------------------------------------------------------------------------
This action enables or disables external feedback only.


Configure Voltage Parameters -->  Set Voltage Filtering 
-------------------------------------------------------
This action configures the 6517A for the various filtering when
measuring volts. This includes the type of filter, either Repeat or Moving,
the averaging type, either scalar or advanced, the filter count, median
filter rank and state, and the overall filter state, either on or off.


Configure Voltage Parameters -->  Set Voltage Reference 
-------------------------------------------------------
This action configures the 6517A for using a baseline reference value.
This is also referred to as the REL or NULL function in the 6517A users
manual. This function allows you to use the input as the REL baseline or
to set a user defined baseline value for REL.


Configure Current Parameters -->  Set Global Current Measure Parameters 
-----------------------------------------------------------------------
This action sets up the 6517A to measure current. In this action, the NPLC,
current range, autoranging, current resolution, and damping functions can
be set. This object should only be used when the 6517A 
is in the IDLE state and not triggering. *OPC? is used in the object to determine 
if the parameters have been set and will only return a valid state in the IDLE 
state. Otherwise, the 6517A will time out and further commands sent to the 
6517A will invoke a 'Query Interrupted' error message. If you wish to set the 
individual parameters while the 6517A is triggering, use those objects instead 
of this global object.



Configure Current Parameters -->  Set Individual Parameters 
                                              -->  Set Current NPLC 
-------------------------------------------------------------------
This action sets the current measure NPLC only.


Configure Current Parameters -->  Set Individual Parameters 
                                              -->  Set Current Range 
-------------------------------------------------------------------
This action sets the current measure range and/or autoranging only.


Configure Current Parameters -->  Set Individual Parameters 
                                              -->  Set Current Resolution 
-------------------------------------------------------------------------
This action sets the current resolution only.


Configure Current Parameters -->  Set Individual Parameters 
                                              -->  Set Current Damping 
----------------------------------------------------------------------
This action controls the current damping function.


Configure Current Parameters -->  Set Current Filtering 
-------------------------------------------------------
This action configures the 6517A for the various filtering when
measuring current. This includes the type of filter, either Repeat or Moving,
the averaging type, either scalar or advanced, the filter count, median
filter rank and state, and the overall filter state, either on or off.


Configure Current Parameters -->  Set Current Reference 
-------------------------------------------------------
This action configures the 6517A for using a baseline reference value.
This is also referred to as the REL or NULL function in the 6517A users
manual. This function allows you to use the input as the REL baseline or
to set a user defined baseline value for REL.


Configure Resistance Parameters -> Set Global Resistance Measure Parameters
---------------------------------------------------------------------------
This action sets up the 6517A to measure resistance. In this action, the
NPLC, resistance range, autoranging, resistance resolution, and damping
functions can be set. This object should only be used when the 6517A 
is in the IDLE state and not triggering. *OPC? is used in the object to determine 
if the parameters have been set and will only return a valid state in the IDLE 
state. Otherwise, the 6517A will time out and further commands sent to the 
6517A will invoke a 'Query Interrupted' error message. If you wish to set the 
individual parameters while the 6517A is triggering, use those objects instead 
of this global object.



Configure Resistance Parameters -->  Set Individual Parameters 
                                              -->  Set Resistance NPLC 
----------------------------------------------------------------------
This action sets the resistance measure NPLC only.


Configure Resistance Parameters -->  Set Individual Parameters 
                                              -->  Set Resistance Range 
-----------------------------------------------------------------------
This action sets the resistance measure range and/or autoranging only.


Configure Resistance Parameters -->  Set Individual Parameters 
                                              -->  Set Resistance Resolution 
----------------------------------------------------------------------------
This action sets the resistance resolution only.


Configure Resistance Parameters -->  Set Individual Parameters 
                                              -->  Set Resistance Damping 
-------------------------------------------------------------------------
This action controls the resistance damping function.


Configure Resistance Parameters -->  Set Resistance Filtering 
-------------------------------------------------------------
This action configures the 6517A for the various filtering when
measuring resistance. This includes the type of filter, either Repeat or
Moving, the averaging type, either scalar or advanced, the filter count,
median filter rank and state, and the overall filter state, either on or off.


Configure Resistance Parameters -->  Set Resistance Reference 
-------------------------------------------------------------
This action configures the 6517A for using a baseline reference value.
This is also referred to as the REL or NULL function in the 6517A users
manual. This function allows you to use the input as the REL baseline or
to set a user defined baseline value for REL.


Configure Resistance Parameters -->  Set Manual/Auto Ohms 
---------------------------------------------------------
This action controls how the 6517A measures resistance. In Manual ohms,
the user can set any voltage value to be used as the source value. In
Auto ohms, only 40 volts and 400 volts is used depending on the particular
resistance range used for meaurement. Please review the 6517A users manual
for further details on Manual/Auto ohms measurements. This object should only 
be used when the 6517A is in the IDLE state and not triggering. *OPC? is used 
in the object to determine if the parameters have been set and will only return 
a valid state in the IDLE state. Otherwise, the 6517A will time out and further 
commands sent to the 6517A will invoke a 'Query Interrupted' error message. 



Configure Charge Parameters -> Set Global Charge Measure Parameters
-------------------------------------------------------------------
This action sets up the 6517A to measure Charge. In this action, the
NPLC, Charge range, autoranging, Charge resolution, and autodischarging
level functions can be set. This object should only be used when the 6517A 
is in the IDLE state and not triggering. *OPC? is used in the object to determine 
if the parameters have been set and will only return a valid state in the IDLE 
state. Otherwise, the 6517A will time out and further commands sent to the 
6517A will invoke a 'Query Interrupted' error message. If you wish to set the 
individual parameters while the 6517A is triggering, use those objects instead 
of this global object.



Configure Charge Parameters -->  Set Individual Parameters 
                                              -->  Set Charge NPLC 
------------------------------------------------------------------
This action sets the Charge measure NPLC only.


Configure Charge Parameters -->  Set Individual Parameters 
                                              -->  Set Charge Range 
-------------------------------------------------------------------
This action sets the Charge measure range and/or autoranging only.


Configure Charge Parameters -->  Set Individual Parameters 
                                              -->  Set Charge Resolution 
------------------------------------------------------------------------
This action sets the Charge resolution only.


Configure Charge Parameters -->  Set Individual Parameters 
                                              -->  Set Autodischarge Control 
----------------------------------------------------------------------------
This action controls the Charge autodischarging level.


Configure Charge Parameters -->  Set Charge Filtering 
-------------------------------------------------------------
This action configures the 6517A for the various filtering when
measuring Charge. This includes the type of filter, either Repeat or
Moving, the averaging type, either scalar or advanced, the filter count,
median filter rank and state, and the overall filter state, either on or off.


Configure Charge Parameters -->  Set Charge Reference 
-------------------------------------------------------------
This action configures the 6517A for using a baseline reference value.
This is also referred to as the REL or NULL function in the 6517A users
manual. This function allows you to use the input as the REL baseline or
to set a user defined baseline value for REL.


Configure Vsource ---> Set Global Vsource Parameters
----------------------------------------------------
This action sets up the internal voltage source. The user can select
from either the +/-100 or +/-1000V range, the value to be sourced, the
Resistive Current limit, whether the internal Measure Connect is to be
used and whether the voltage source is on or off. This object should only be 
used when the 6517A is in the IDLE state and not triggering. *OPC? is used in 
the object to determine if the parameters have been set and will only return a 
valid state in the IDLE state. Otherwise, the 6517A will time out and further 
commands sent to the 6517A will invoke a 'Query Interrupted' error message. 
If you wish to set the individual parameters while the 6517A is triggering, 
use those objects instead of this global object.



Configure Vsource -->  Set Individual Parameters 
                                           -->  Set Vsource Output 
------------------------------------------------------------------
This action sets Vsource output level.


Configure Vsource -->  Set Individual Parameters 
                                           -->  Set Vsource Range 
-----------------------------------------------------------------
This action sets Vsource range to either 100V or 1000V.


Configure Vsource -->  Set Individual Parameters 
                                           -->  Set Vsource Voltage Limit 
-------------------------------------------------------------------------
This action sets Vsource Voltage Limit value and whether it is on or off.


Configure Vsource -->  Set Individual Parameters 
                                           -->  Set Measure Connect 
-------------------------------------------------------------------
This action sets Vsource Measure Connect feature. This feature allows
you to control the internal Vsource LO to Ammeter LO connection.


Configure Vsource -->  Set Vsource State 
-------------------------------------------------------------------------
This action sets turns the Vsource output on or off.


Status Register Operations -> Enable Status Registers -> Measurement Status
---------------------------------------------------------------------------
This action sets up the Measurement Status Enable register so that the
instrument can SRQ on a bit in the measurement register.


Status Register Operations -> Enable Status Registers -> Operation Status
-------------------------------------------------------------------------
This action sets up the Operation Status Enable register so that the
instrument can SRQ on a bit in the Operation register.


Status Register Operations -> Enable Status Registers -> Arm Status
-------------------------------------------------------------------
This action sets up the Arm Status Enable register so that the
instrument can SRQ on a bit in the arm register.


Status Register Operations -> Enable Status Registers -> Sequence Status
------------------------------------------------------------------------
This action sets up the Sequence Status Enable register so that the
instrument can SRQ on a bit in the sequence register.


Status Register Operations -> Enable Status Registers -> Trigger Status
-----------------------------------------------------------------------
This action sets up the Trigger Status Enable register so that the
instrument can SRQ on a bit in the trigger register.


Status Register Operations -> Enable Status Registers -> Questionable Status
----------------------------------------------------------------------------
This action sets up the Questionable Status Enable register so that the
instrument can SRQ on a bit in the trigger register.


Status Register Operations -> Query Register Status
                                        -> Query Measurement Status
-------------------------------------------------------------------
This action returns the status bits that are latched in the Measurement
status register.


Status Register Operations -> Query Register Status
                                          -> Query Operation Status
-------------------------------------------------------------------
This action returns the status bits that are latched in the Operation
status register.


Status Register Operations -> Query Register Status
                                                -> Query Arm Status
-------------------------------------------------------------------
This action returns the status bits that are latched in the Arm
status register.


Status Register Operations -> Query Register Status
                                           -> Query Sequence Status
-------------------------------------------------------------------
This action returns the status bits that are latched in the Sequence
status register.


Status Register Operations -> Query Register Status
                                            -> Query Trigger Status
-------------------------------------------------------------------
This action returns the status bits that are latched in the Trigger
status register.


Status Register Operations -> Query Register Status
                                            -> Query Questionable Status
------------------------------------------------------------------------
This action returns the status bits that are latched in the Questionable
status register.


Status Register Operations -> Set SRQ Function
----------------------------------------------
This action sets up the 6517A to SRQ on an event in the measurement,
operation, questionable registers and event summary, message available, and
error available situations.

Status Register Operations -> Reset Registers to Default State
--------------------------------------------------------------
This action resets all of the status registers to their power-on settings.


6517A System Controls ----> Save Configuration
----------------------------------------------
This action saves the current 6517A setup in memory location 0 to 9.


6517A System Controls ----> Recall Configuration
----------------------------------------------
This action recalls the a 6517A setup in memory location 0 to 9.


6517A System Controls ----> Set Power-on State
----------------------------------------------
This action selects the mode that the 6517A powers on to. Selections
include RST, Preset (Power On Reset), Saved setup 0 through 9.


6517A System Controls ----> Line-Sync Controls
----------------------------------------------
This action enables or disables line synchroniztion. When enabled, the
integration period will not start until the beginning of the next power
line cycle. This action can only be set when the 6517A is NOT triggering.


6517A System Controls ----> Simulate Key Press
----------------------------------------------
This action allows the user to simulate front panel key presses. The number
coding is as follows:

1   Range Up Arrow          16  NEXT
2   V-source Up Arrow       17  Range Down Arrow
3   Left Arrow              18  ENTER
4   MENU                    19  OPER
5   Q                       20  TRIG
6   FILTER                  21  RECALL
7   LOCAL                   22  I
8   PREV                    23  Z-CHK
9   AUTO                    26  V-Source Down Arrow
10  Right Arrow             27  SEQ
11  EXIT                    28  CONFIG
12  CARD                    29  R
13  MATH                    30  REL
14  STORE                   31  INFO
15  V


6517A System Controls ----> Set Time and Date 
---------------------------------------------
This action allows the user to set the Real Time Clock. 


6517A System Controls ----> Select Timestamp Type 
-------------------------------------------------
This action allows the user to choose the timestamp type, either
Relative or RTClock.


6517A System Controls ----> External Temperature Control
--------------------------------------------------------
This action allows the user to turn on the external temperature
measurement function.


6517A System Controls ----> A/D Hardware Limit Control
------------------------------------------------------
This action allows the user to choose whether the hardware A/D limit is
enabled or disabled. With the hardware limit on, the "Out-Of-Limit"
error message is enabled to indicate that an out of range noise spike has
occurred. Disabling the hardware limit disbales the message. With hardware
limit off, noise spikes may cause the reading to be erroneous.


6517A System Controls ----> Humidity Reading Control
----------------------------------------------------
This action allows the user to turn on the humidity
measurement function.


Buffer Controls ----------> Clear Data Buffer
---------------------------------------------
This actions clears all data stored in the 6517A data buffer.


Buffer Controls ----------> Get Number of Readings Stored
---------------------------------------------------------
This actions queries the 6517A for the actual number of points that have
stored in the internal data buffer.


Buffer Controls ----------> Select Buffer Elements
--------------------------------------------------
This actions selects the optional data elements to be transferred across
the bus. Elements include Timestamp, Humidity, Channel, External
Temperature and Vsource.


Buffer Controls ----------> Set Number of Points to Store
---------------------------------------------------------
This actions sets the number of data buffer points to store.


Buffer Controls ----------> Select Buffer Timestamp Format
----------------------------------------------------------
This action sets the format of the buffer timestamp to either
Absolute timestamp or Delta timestamp.


Buffer Controls ----------> Configure Buffer Pre-Triggering
-----------------------------------------------------------
This actions configures data buffer pre-triggering collection. The user
can select how many points to pre-trigger into the buffer, and how the
buffer will be triggered, either by External, Trigger Link, Bus, or Manual
triggering.


Buffer Controls ----------> Select Buffer Control Mode
------------------------------------------------------
This actions allows the user to select how the buffer stores data, 
whether it is ALWAYS, NEXT, NEVER, or PRETRIGGERed readings.


Configure 6517A Triggering  -------> Set Arm Layer 1 
----------------------------------------------------
This action allows the user to setup the ARM Layer of the Trigger
Model of the 6517A. The source of triggering can be Immediate,
External, GPIB, Trigger Link (TLink), or Real-Time Clock (RT Clock).
The action allows for the choice of Trigger Link lines. Additionally,
the user can specify the Direction Control, the Arm Count, and the
Time and Date to trigger on if RTClock source has been selected.

This object should only be used when the 6517A is in the IDLE state and 
not triggering. *OPC? is used in the object to determine if the parameters 
have been set and will only return a valid state in the IDLE state. Otherwise, 
the 6517A will time out and further commands sent to the 6517A will invoke a 
'Query Interrupted' error message. 


Configure 6517A Triggering  -------> Set Arm {Scan} Layer 2 
-----------------------------------------------------------
This action is the same as the Arm Layer Setup except the RT Clock
source is not available. Instead a Timer source is available for
triggering. Additionally, the user can specify the Scan Count, Scan
Timer, and the Scan Delay.

This object should only be used when the 6517A is in the IDLE state and 
not triggering. *OPC? is used in the object to determine if the parameters 
have been set and will only return a valid state in the IDLE state. Otherwise, 
the 6517A will time out and further commands sent to the 6517A will invoke a 
'Query Interrupted' error message. 


Configure 6517A Triggering  -------> Set Trigger Layer for Async Triggering
---------------------------------------------------------------------------
This action is the same as the Scan Layer Setup. Additionally, 
the user can specify the Trigger Count, Trigger Timer, and the 
Trigger Delay. This action is specifically for asynchronous triggering
if Trigger Link is used.

This object should only be used when the 6517A is in the IDLE state and 
not triggering. *OPC? is used in the object to determine if the parameters 
have been set and will only return a valid state in the IDLE state. Otherwise, 
the 6517A will time out and further commands sent to the 6517A will invoke a 
'Query Interrupted' error message. 


Configure 6517A Triggering  ---> Set Trigger Layer for Semi-Sync Triggering
---------------------------------------------------------------------------
This action is the same as the Scan Layer Setup. Additionally, 
the user can specify the Trigger Count, Trigger Timer, and the 
Trigger Delay. This action is specifically for semi-synchronous triggering
if Trigger Link is used.

This object should only be used when the 6517A is in the IDLE state and 
not triggering. *OPC? is used in the object to determine if the parameters 
have been set and will only return a valid state in the IDLE state. Otherwise, 
the 6517A will time out and further commands sent to the 6517A will invoke a 
'Query Interrupted' error message. 


Set Temperature Units
---------------------
This action is used to set the temperature units to either C, Cel, F,
FAR, or K.


=================================================================
Notes:
    GPIB Address: Should the user wish to alter the address of the 
    6517A icon, you can double click on the icon in the object window. 
    A settings panel will appear that will allow the user to change 
    the GPIB address for TestPoint. This does not physically change 
    the address on the 6517A. Additionally, the user can put the library 
    into DEMO MODE by clicking the appropriate box in the settings panel.

    Returned Reading Elements: The 6517A can return a variety of reading
    elements back to TestPoint. The 6517A will return more than just the
    reading of the reading elements controls have been set to  Yes  or
    On . Sending *RST resets the elements back to Reading Element only.
    Beware of unwanted characters. TestPoint may display square 
    characters after the reading or in-between reading elements. These
    characters are hidden characters, generally carriage return and
    line feed characters, and perhaps commas. This mostly occurs when
    a TestPoint display is displaying numeric data, not string data.


    The library covers a large percentage of the 6517A operation but
    not 100% of all of the functions. Any function of the 6517A can be
    programmed using a GPIB object in your application and programmed
    directly. For further assistance on programming the 6517A, you can
    contact the Keithley Instruments Application Engineering group at
    800-348-3735 Monday through Friday between 8:00AM and 5:00PM EST in
    the United States or through Keithley's World Wide Web page at:
    http://www.keithley.com/cgi/ibu_reply.cgi?inforequest

    This page is the Instruments Group Information Request page.


